#include <stdio.h>
#include "gc_memory.h"




int main(void) {
	M_INIT();

	char* a=(char*)my_alloc(sizeof(char)*100);
	if (a)
		printf("OK\n");
	else printf("NO");

	meta_s* meta=get_meta(a);

	printf("%i\n", meta->size); //see that we know the allocated block's size


	my_delete(a);
	if (a)
		printf("OK\n"); //a is NOT NULL indeed. It is normal behavior. Check standard malloc/delete.
	else printf("NO");


}